# -*- coding:utf-8 -*-
"""
Author：Administrator
Date:2021年12月06日
"""
import pandas as pd

index = pd.date_range('02/20/2020', periods=9, freq='T')
series = pd.Series(range(9), index=index)
print(series)
print(series.resample('3T').sum())